package com.mspbots.core.wise.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.JsonNode;
import com.mspbots.core.typehandler.JsonNodeTypeHandler;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * com.mspbots.core.model.SystemExceptionLog
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/7/29
 */
@Data
@TableName(value = "tenant_exception_logs", autoResultMap = true)
public class TenantExceptionLog extends TenantEntity {

    private String name;
    private String tenantName;
    private String type;
    private Integer status;
    private String msg;
    private LocalDateTime logTime;

    @JsonIgnore
    @TableField(typeHandler = JsonNodeTypeHandler.class)
    private JsonNode extend;

}
